<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>card</title>
  <style>
    .wrapper{
      width: 300px;
      height: 500px;
      position: relative;
      margin: 150px auto;
    }
    .wrapper>div{
      position: absolute;
      top: 0;
      left: 0;
      width: 310px;
      height: 441px;
      border: 1px solid #ccc;
      box-shadow: 1px 1px 1px #000;
      transition: all .4s;
      transform-origin: bottom center;
    }
    .wrapper:hover div:nth-child(1){
      transform:rotate(-44deg);
    }
    .wrapper:hover div:nth-child(2){
      transform:rotate(-33deg);
    }
    .wrapper:hover div:nth-child(3){
      transform:rotate(-22deg);
    }
    .wrapper:hover div:nth-child(4){
      transform:rotate(-11deg);
    }
    .wrapper:hover div:nth-child(6){
      transform:rotate(11deg);
    }
    .wrapper:hover div:nth-child(7){
      transform:rotate(22deg);
    }
    .wrapper:hover div:nth-child(8){
      transform:rotate(33deg);
    }
    .wrapper:hover div:nth-child(9){
      transform:rotate(44deg);
    }
    .wrapper div:nth-child(1){
      background-image: url(pk1.png);
    }
    .wrapper div:nth-child(2){
      background-image: url(pk2.png);
    }
    .wrapper div:nth-child(3){
      background-image: url(pk1.png);
    }
    .wrapper div:nth-child(4){
      background-image: url(pk1.png);
    }
    .wrapper div:nth-child(5){
      background-image: url(pk2.png);
    }
    .wrapper div:nth-child(6){
      background-image: url(pk2.png);
    }
    .wrapper div:nth-child(7){
      background-image: url(pk2.png);
    }
    .wrapper div:nth-child(8){
      background-image: url(pk1.png);
    }
    .wrapper div:nth-child(9){
      background-image: url(pk1.png);
    }
  </style>
</head>
<body>
  <div class="wrapper">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
  </div>
</body>
</html>